<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
	<p>先注册，后登录(用户 名：admin，密码：123456)</p>
	<form action="dologinSerlvet" method="post">
		<label for="username">用户名</label>
		<input type="text" id="username" name="username" /><br /> 
		<label for="password">密码</label>
		<input	type="password" id="password" name="password" /><br /> 
		${error==null?'':error}
		<input type="submit" value="登录" /> 
		<a href="#">注册</a>
	</form>
</body>
</html>